package com.glory.gloryquickui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.glory.gloryquickui.R
import com.glory.gloryquickui.entity.TablePortraitCustomBean

/**
 *Created:YJ
 *创建时间：2021/5/18
 *Describe:
 */
class TablePortraitTextAdapter(data: ArrayList<TablePortraitCustomBean>?):BaseQuickAdapter<TablePortraitCustomBean, BaseViewHolder>(
    R.layout.item_table_portrait_text,data) {

    override fun convert(holder: BaseViewHolder, item: TablePortraitCustomBean) {
        holder.setText(R.id.tvName, item.textName)
        holder.setText(R.id.tvValue, item.textValue)
    }
}